package com.ohc.test.iter;

public class Proxy implements Singer {
    private ManSinger manSinger;

    public Proxy() {

    }

    public Proxy(ManSinger manSinger) {
        this.manSinger = manSinger;
    }

    @Override
    public void sing() {
        System.out.println("增强前");
        manSinger.sing();
        System.out.println("增强后");
    }
}
